package cn.tom.org.service;

import cn.tom.org.pojo.domain.Employee;
import cn.tom.org.pojo.query.EmployeeQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface EmployeeService {

    Employee getOne(Long id);

    List<Employee> getAll();

    void add(Employee employee);

    void update(Employee employee);

    PageInfo<Employee> queryPage(EmployeeQuery query);

    void delete(Long id);

    void patchDelete(List<Long> ids);
}
